<div id="gallery">
<?php
 $recupPhotos=mysql_query("SELECT * FROM photosactu  WHERE idActu='$idActu' ORDER BY RAND() LIMIT 6 ") or die (mysql_error());
 while($rowP=mysql_fetch_array($recupPhotos)){
 $NomImage=$rowP['NomImage'];
 $TitreImgFR=$rowP['TitreImgFR'];
 echo "<a href='../imagesActualites/Big/".$NomImage."' title='Concrete Paris. ' $('#gallery').lightBox();><div class='PhotosCache'><img src='../imagesActualites/".$NomImage."' width='100%'></div></a>";
 }
 ?>
 <div class="clr"></div>
 <br><br>
 </div>